<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<%set (string){category_title}=get_category_title({model.category_id},"新闻资讯")%>
<title>{model.title}|{category_title}|鸿马</title>
<meta name="description" content="{model.zhaiyao}" />
<meta name="keywords" content="{model.seo_keywords},{category_title},创新，设计，有趣的人和事，技术，文档" />
<meta content="Copyright 2012 ihongma.com" name="copyright" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="{config.templateskin}/css/global.css" type="text/css" media="screen" />
<script type=text/javascript src="{config.templateskin}/js/jquery-1.7.1.min.js"></script>
<!--[if lt IE 9]><script src="{config.templateskin}/js/html5.js"></script><![endif]-->
<script type="text/javascript" src="http://common.cnblogs.com/script/syntaxHighlighter.js"></script>
<link type="text/css" rel="stylesheet" href="http://common.cnblogs.com/css/shStyle.css"/>
<script type="text/javascript">
$( function () {
    SyntaxHighlighter.config.strings.viewSource = "view my source!!!!";
    SyntaxHighlighter.highlight();
 });
   </script>
</head>
<body>
<%template src=/header.html/%>

<div class="inside">  
  <ul class="c_menu">
 
                <li class="all">
                    <a href="<%linkurl("article_list1","")%>">
                        所有内容
                    </a>
                </li>
                <%set (DataTable){category_list}=get_category_list(channel_id, 0)%>
                    <%loop cdr category_list%>
                        <li>
                            <%csharp%>
                                string classstr=model.category_id==Convert.ToInt32(cdr["id"])?"class='active'":"";
                                <%/csharp%>
                                    <li class="new">
                                        <a {classstr} href="<%linkurl("article_list",{cdr[id]},1)%>">
                                            {cdr[title]}
                                        </a>
                                    </li>
                                    <%/loop%>
    </ul>
  <div class="article_container">
    <div class="ac_main">
      <span class="time">{model.add_time}</span>
      <h1 class="article_heading">{model.title}</h1>
      <div class="article_body">

       {model.content}
本文由网站小编整理转发，转载请注明出处。
<!-- JiaThis Button BEGIN -->
<div class="jiathis_style_32x32">
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_renren"></a>
	<a class="jiathis_button_weixin"></a>
	<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
	<a class="jiathis_counter_style"></a>
</div>
<script type="text/javascript">
    var jiathis_config = {
        title: "{model.zhaiyao}#{category_title}#",
        ralateuid: {
            "tsina": "2522435023"
        }
    }
</script>
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1355456270147123" charset="utf-8"></script>
<!-- JiaThis Button END -->

      </div>
    </div>
    <div class="ac_right">
      <section class="storySelector">
       <%set (string){category_nav}=get_category_menu("article_list", model.category_id)%>
        <h1 class="neurohacks">{category_nav}</h1>
           <%csharp%>
        System.Collections.Generic.List<ihongma.Model.article> newslist=artcle({model.id});
            ihongma.Model.article news0=newslist[0];
                ihongma.Model.article news1=newslist[1];
                 if (news0!=null)
                  {
                   <%/csharp%>
        <article class="with_image previous">
          <p class="previous"><span class="arrow_left_grey"></span><a href="<%linkurl("article_show",{news0.id})%>">上一篇</a></p>
          <div class="image_container"><a href="<%linkurl("article_show",{news0.id})%>"><img src="{news0.img_url}" width="127" /></a></div>
          <h2 class="headline"><a href="<%linkurl("article_show",{news0.id})%>">{news0.title}</a></h2>
        </article>
    
         <%csharp%> }if(news1!=null)
         {<%/csharp%>
        <article class="with_image next">
          <p class="next"><a href="<%linkurl("article_show",{news1.id})%>">下一篇</a><span class="arrow_right_grey"></span></p>
          <div class="image_container"><a href="<%linkurl("article_show",{news1.id})%>"><img src="{news1.img_url}" width="170" /></a></div>
          <h2 class="headline"><a href="<%linkurl("article_show",{news1.id})%>">{news1.title}</a></h2>
        </article>
        <%/if%>
        <!--<p class="see_more"><span class="arrow-right"></span><a href="#">查看所有文档</a></p>-->
      </section>
    </div>
  </div>
</div>
<%template src=/footer.html/%>

</body>
</html>